package com.puman.beautyfarmcounselor.ui.setting.model;

import java.util.List;

/**
 * 作者：sharpX on 15/7/21 18:19
 * 邮箱：634073349@qq.com.com
 */

public class Msg {

    /**
     * msg : 成功
     * flag : true
     * data : {"messageInfos":[{"datetime":"2015-05-28 15:45:50","msg_introduce":"中国股市目前全面开花,上扬势头迅猛,国外分析师认为,目前想要从该股市中获利的最佳方式便是不采取任何措施","msg_title":" 通知测试一","id":1,"msg_icon":"6bc6e79a-33cd-443f-96ac-1ef1fcf8fe2c.jpg","msg_url":""}],"paging":{"total":1,"at_page":1}}
     */
    private String msg;
    private boolean flag;
    private DataEntity data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public class DataEntity {
        /**
         * messageInfos : [{"datetime":"2015-05-28 15:45:50","msg_introduce":"中国股市目前全面开花,上扬势头迅猛,国外分析师认为,目前想要从该股市中获利的最佳方式便是不采取任何措施","msg_title":" 通知测试一","id":1,"msg_icon":"6bc6e79a-33cd-443f-96ac-1ef1fcf8fe2c.jpg","msg_url":""}]
         * paging : {"total":1,"at_page":1}
         */
        private List<MsgData> messageInfos;
        private PagingEntity paging;

        public void setMessageInfos(List<MsgData> messageInfos) {
            this.messageInfos = messageInfos;
        }

        public void setPaging(PagingEntity paging) {
            this.paging = paging;
        }

        public List<MsgData> getMessageInfos() {
            return messageInfos;
        }

        public PagingEntity getPaging() {
            return paging;
        }


        public class PagingEntity {
            /**
             * total : 1
             * at_page : 1
             */
            private int total;
            private int at_page;

            public void setTotal(int total) {
                this.total = total;
            }

            public void setAt_page(int at_page) {
                this.at_page = at_page;
            }

            public int getTotal() {
                return total;
            }

            public int getAt_page() {
                return at_page;
            }
        }
    }
}
